<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="search" tagdir="/WEB-INF/tags/search"%>

<probiz:pageHeading pageHeadingKey="productTypeList.heading" />
<content tag="buttons">
	<probiz:iconBtn btnType="add" onclick="return fnDoAdd(this);" />
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this);" />
</content>

<search:searchBox formAction="${ctxPath}/product/productType.html" enableMoreSearch="false">
	<div class="basic_search">
		<search:basicSearch attrPath="s.productTypeName" attrNameKey="productType.productTypeName" datatype="String"	operator="LIKE" classes="inputtxt" labelWidth="48px"/>
	</div>
</search:searchBox>

<form class="mainForm" name="productTypeListForm" method="post">
	
	<c:set var="editURLPath" value="/product/productType.html?doAction=edit&from=list" scope="page" />
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="menu.productTypeList"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>
	<div class="data">
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)" style="margin: 0 0 0 0px" />
		</c:set>
		<display:table name="${productTypeList}" cellspacing="0" cellpadding="0" uid="productType" class="list_table" export="false" requestURI="">
			<display:column class="checkbox_column" style="height:50px;" title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${productType.productTypeId}" class="checkbox" title="${productType.productTypeName}" />
			</display:column>
			<display:column style="width: 15%;" sortable="true" url="${editURLPath}" paramId="productTypeId" paramProperty="productTypeId" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="productType.productTypeName">
				${productType.productTypeName}
			</display:column>
			<display:column property="productTypeDescription" sortable="false" headerClass="data-table-title" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="productType.productTypeDescription" />
			
		</display:table>
		<div class="blank10"></div>
		<%@include file="/common/paging.jsp"%>
	</div>
</form>
<script type="text/javascript">
$j(document).ready(function () {
	highlightTableRows("productType");
});	
</script>
